Repository navigation
main's CI: Clang on x86_64 compiles the test support, codecs' dudect base58 preparation, MSVC lanes' time limit and third-party cache - #63
Merged
Conversation
added 2 commits
December 2, 2026 22:03
…s third-party builds Since webcpp::codecs and the formats joined, an MSVC lane updates 25,832 targets (16,034 on main's run 44781154690, where MSVC 14.5 took 64 minutes with its third-party cache). On main's run 46916884991 a new runner image and new third-party inputs left both MSVC lanes without that cache, so each built OpenSSL in five configurations and libdatachannel in two, about 37 minutes of the lane: MSVC 14.3 took 118 minutes and the 150-minute limit cancelled MSVC 14.5 at 25,000 of its 25,832 targets, about 156 minutes at its pace. A cancelled job skips the save of the third-party builds, so the next run would build them again and overrun again: the Lane step now has its own limit, below the job's, which ends an overrun as a failed step, and the save still runs.
…lset The constant-time lanes of secure and crypto give each planted leak, a program of a source another program has too, a directory of its own with <location-prefix>, so b2 builds it in <location>/<prefix>/<target>.test/<toolset>/...: the report found no toolset there and stopped with an input error (exit 2, no report written), which failed the Report and the Site of pull request #63's run 47012218351 (main's runs had stopped before it, at the MSVC lane with no XML). The report now reads the toolset after one such prefix; a case of report_test.py moves a passing and a failing test's directory under a prefix.
…heir main-ci-fix pull requests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the three defects of main's run 46916884991, whose Report and Site failed ("Artifact not found for name: report"), so the site deploys again.
1. Lint shards 1, 4, 6, 7, 9, 10 (and the Clang 18 and Clang 22 lanes):
posix_memalignis missing exception specificationNot the lint's tooling: a real compile error with Clang on x86_64 Linux. The test support (
test/support/counting.hppof codecs, crypto, secure and hash) replaces glibc's allocation functionsnoexcept; Clang's<mm_malloc.h>(from<emmintrin.h>, which Boost.URL and Boost.JSON include on x86) then redeclaresposix_memalignwithout an exception specification, which Clang accepts only after a system header's declaration. The same run's Clang 18 and Clang 22 lanes failed to compile the same 16 tests (their jobs passed; the Report would have failed them). GCC's<mm_malloc.h>saysthrow ()and arm64 never includes it, so the local macOS and arm64 Linux lints could not see it. Fix (webcpporg/codecs#2, webcpporg/crypto#21, webcpporg/secure#2, webcpporg/hash#18): include<mm_malloc.h>before the replacements.2. Own lane (codecs, constant-time, native): dudect
base58_checksum_decode|t| 36The harness, not the library: the base58 cases prepared each class's text by the public conversion, whose early loop exits by the bytes' values left the two classes a different branch history before each measurement. The secret decode has no branch on the text in its x86-64 code. A probe on six hosted runners (Xeon 6975P-C, EPYC 9V45 and 9V74): |t| up to 108 on the three base58 cases before, 1.3 to 4.0 after, every runner. Fix in webcpporg/codecs#2: prepare by the constant-time conversion.
3. MSVC 14.5 cancelled at the 150-minute limit
No hang: the time is spread over the whole build. Since codecs and the formats joined, an MSVC lane updates 25,832 targets (16,034 on main's last green run 44781154690, where MSVC 14.5 took 64 minutes), and a new runner image and new third-party inputs left both MSVC lanes without their third-party cache, so each built OpenSSL five times and libdatachannel twice (about 37 minutes of the lane). MSVC 14.3 took 118 minutes; MSVC 14.5, about 30% slower on its image, reached 25,000 of 25,832 targets at 143 minutes and would have needed about 156. The cancelled job also skips the save of its third-party builds, so every following run would be cold and overrun again.
library.yml: the lanes' limit is 210 minutes (a cold MSVC 14.5 run plus a third), with the evidence in the comment.!cancelled()), breaking the cold-cache loop.Sharding the MSVC lanes (as the lint is) is the scalable follow-up if they keep growing.
4. Report: a test under b2's
<location-prefix>named no toolsetFound by this PR's first run (47012218351, every lane green): the Report stopped with an input error (exit 2, no report written, so no Site) on secure's and crypto's planted-leak programs, which
<location-prefix>builds in<location>/<prefix>/<target>.test/<toolset>/....tools/report/lanes.pynow reads the toolset after such a prefix; a new case ofreport_test.py(red before, green after). main's runs had stopped before this, at the MSVC lane without XML.Still failing on main after this PR (pre-existing, masked until now by the Report never judging)
Running the fixed report over that run's 157 lane artifacts gives 10 failures, none caused here:
messages/ph_removed,async_seal_removed,seal_removed_callon Clang 18 and Apple Clang 17: their-verifyexpectations hold Clang 22's knock-on diagnostics.declassify_compile_msan(both) on the Clang 18 container:sanitizer/msan_interface.hnot found (no compiler-rt headers in the image).ctgrindandctgrind_space: memcheck reports a conditional jump on the secret scalar in BearSSL'scheck_scalar(ec_p256_m62.c:1626, x86-64 only), from P-256 ECDHagree: a dependency finding, left to its owners.The Report uploads its pages with these failures, so the Site builds and publishes.
Verification
tools/ci/matrix_test.pypasses; actionlint clean.🤖 Generated with Claude Code